<template>
	<view class="content">
		<view class="notice-view">
			<view class="notice-top">
				<view class="notice-time">
					{{info.createTime}}
				</view>
			</view>
			<view class="notice-bottom">
				{{info.message}}
			</view>
		</view>
	</view>
</template>

<script>
	var that;
	export default {
		data() {
			return {
				info: {}
			};
		},
		onShow() {},
		onLoad() {
			that = this
			that.info = JSON.parse(uni.getStorageSync('notice'))
			uni.setNavigationBarTitle({
				title:that.info.title
			})
		},
		mounted() {},
	};
</script>

<style lang="less">
	page {
		background-color: #F8F8F8;
	}

	.notice-view {
		width: 740rpx;
		background-color: #fff;
		padding: 25rpx;
		margin-bottom: 25rpx;

		.notice-top {
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.notice-title {
				display: flex;
				font-weight: 700;
				align-items: center;
				justify-content: center;
				font-size: 35rpx;
				color: #303133;
			}

			.notice-time {
				display: flex;
				justify-content: flex-end;
				font-size: 30rpx;
				color: #909399;
				margin: 25rpx 0;
			}
		}

		.notice-bottom {
			color: #8a8d93;
			font-size: 32rpx;
			margin-top: 15rpx;
			text-indent: 20rpx;
		}
	}
</style>